/*=+--+=#=+--     Unmanned Aerial System Management Software      --+=#=+--+=#*\
|          Copyright (C) 2011 Regents of the University of Colorado.           |
|                             All Rights Reserved.                             |

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as
     published by the Free Software Foundation.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

            Jack Elston                       Cory Dixon                        
|           elstonj@colorado.edu              dixonc@colorado.edu              |
|                                                                              |
\*=+--+=#=+--                 --+=#=+--+=#=+--                    --+=#=+--+=#*/

/*!
  \file gps.h
	\brief header file for gps

                    \author Jack Elston
             $Date: 2006/10/25 13:34:45 $
*/

#ifndef __SONDE_H
#define __SONDE_H

#include "threadedPipe.h"

#define SONDE_PERIOD 0.5

class Sonde : public ThreadedPipe
{
	private:
		int transmit_data;
		Sonde_t sonde;

	public:
		Sonde(String name, int a_port = 0);
		bool init(ShmStruct * shmStructPtr);
		~Sonde() {}

		void update();
};

#endif
